count = 1
flag = False

for i in range(7):
    space = (7-count)//2
    for k in range(space):
        print(' ',end='')
    for j in range(count):

        print('*', end='')
    if flag:
        count -= 2
    else:
        count += 2
    if count == 7:
        flag = True

    print("")
